package com.fastloan.mgt.jx.model.vo;

import java.util.StringJoiner;

/**
 * 预授信评估结果
 *
 * @author chenkai
 * createTime 2018-01-2018/1/5 16:24
 */
public class JxModelResultVO {

    /**
     * 我方流水号
     */
    private String order_id;

    /**
     * 接入方流水号（与请求相同）
     */
    private String agent_order_id;

    /**
     * 身份证号码
     */
    private String card_id;

    /**
     * 评估状态(0 没有记录,1：评估中，2：已完成)
     */
    private Integer status;

    /**
     * 是否通过
     */
    private Boolean pass;

    /**
     * 预授信金额，如果通过必填
     */
    private String pre_credit;

    /**
     * 有效截止日期
     */
    private String dead_line;

    /**
     * 用信额度
     */
    private String credit_line;

    public String getAgent_order_id() {
        return agent_order_id;
    }

    public void setAgent_order_id(String agent_order_id) {
        this.agent_order_id = agent_order_id;
    }

    public String getDead_line() {
        return dead_line;
    }

    public void setDead_line(String dead_line) {
        this.dead_line = dead_line;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getCard_id() {
        return card_id;
    }

    public void setCard_id(String card_id) {
        this.card_id = card_id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Boolean getPass() {
        return pass;
    }

    public void setPass(Boolean pass) {
        this.pass = pass;
    }

    public String getPre_credit() {
        return pre_credit;
    }

    public void setPre_credit(String pre_credit) {
        this.pre_credit = pre_credit;
    }

    public String getCredit_line() {
        return credit_line;
    }

    public void setCredit_line(String credit_line) {
        this.credit_line = credit_line;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", this.getClass().getSimpleName() + "[", "]")
                .add("agent_order_id = " + agent_order_id)
                .add("card_id = " + card_id)
                .add("credit_line = " + credit_line)
                .add("dead_line = " + dead_line)
                .add("order_id = " + order_id)
                .add("pass = " + pass)
                .add("pre_credit = " + pre_credit)
                .add("status = " + status)
                .toString();
    }
}
